<template>
	<el-image
		style="width: 0px; height: 0px"
		:preview-src-list="previewImageList"
		ref="preview"
	>
	</el-image>
</template>

<script>
export default {
	data() {
		return {
			previewImageList: []
		}
	},
	computed: {},
	mounted() {},
	methods: {
		open(url) {
			this.previewImageList = [url]
			this.$refs.preview.showViewer = true
		}
	},
	components: {}
}
</script>

<style lang="scss" scoped="scoped"></style>
